<?php
class headr
{
var $headr;

public function __construct()
{ // INIT THE FUNCTION
$this->headr = array();
}

public function build()
{
echo urldecode('%3C!DOCTYPE%20html%3E%20%0A%3Chtml%20lang%3D%22fr%22%20dir%3D%22ltr%22%3E%20%0A%3Chead%3E%0A%3Cmeta%20charset%3D%22utf-8%22%3E%0A%3Cmeta%20http-equiv%3D%22X-UA-Compatible%22%20content%3D%22IE%3Dedge%2Cchrome%3D1%22%3E%0A%3C!--%5Bif%20lt%20IE%209%5D%3E%0A%3Cscript%20src%3D%22http%3A%2F%2Fheadr.googlecode.com%2Fsvn%2Fhtml5.js%22%3E%3C%2Fscript%3E%3Cscript%20src%3D%22http%3A%2F%2Fheadr.googlecode.com%2Fsvn%2FIE9.js%22%3E%3C%2Fscript%3E%0A%3C!%5Bendif%5D--%3E%0A%3Clink%20id%3D%22css%22%20rel%3D%22stylesheet%22%20href%3D%22http%3A%2F%2Fheadr.googlecode.com%2Fsvn%2Freset.css%22%20charset%3D%22utf-8%22%20%2F%3E%0A%3Cscript%20src%3D%22http%3A%2F%2Fheadr.googlecode.com%2Fsvn%2Fhead.js%22%3E%3C%2Fscript%3E%0A%3Cscript%20src%3D%22http%3A%2F%2Fheadr.googlecode.com%2Fsvn%2Fmodernizr.js%22%3E%3C%2Fscript%3E'); // compatibility & headr
(($this->headr["title"])? (echo "<title>".$this->headr["title"]."</title>"): ());
if (count($this->headr["js"])) {
foreach($this->headr["js"] AS $k => $url) {
echo "<script src=\"$url\"></script>";
}
}
}

public function body()
{
echo "</head><body>";
}

}

$headr = new headr();
?>
